package edu.sctu.practice.class02.yangshengyu.text01.test06;

/**
 * Created by Cullen on 2015/10/12.
 */
public class Test {
    private String look;

    public Test(String look) {
        this.look = look;
    }

    public void setLookValue(String looks) {
        this.look = looks;
        System.out.println("新的外貌描述为：" + this.look);
    }

    public void getLookValue() {

        System.out.println("外貌描述为：" + this.look);
    }

    public static void main(String[] args) {
        Test test=new Test("bad!");
        test.getLookValue();
        test.setLookValue("pretty!");
    }


}
